Button 

Inherits from: 
Click Item

_____________________________________________________
                      name    *182*

Type:  string 

Description:  Appears as the text displayed on the «Button», and used by the primitive find-item to find a «Button» by name.

_____________________________________________________
                       owner    *182*

Type:  Window 

Constraints:
Not settable.

Description:  If «Button» is a member of item list of an active «Window», then the value of this attribute is that «Window». Otherwise the value of owner is NULL.

_____________________________________________________
                        active?    *182*

Type:  boolean

Constraints:
Not settable on default.

Description:
When the value of this attribute is FALSE, the «Button» is drawn gray and does not respond to clicks. 

Side effects:  Setting causes «Button» to be redrawn. 

_____________________________________________________
                        visible?    *182*

Type:  boolean

Description:  «Button» is displayed in the owning «Window» if and only if the value of this attribute is TRUE.

Side effects:
Setting causes «Button» to be redrawn in the owning «Window». 

_____________________________________________________
                        move?    *183*

Type:  boolean

Description: 
The location of «Button» is changed relative to the size of the owning «Window» if and only if the value of this attribute is TRUE.

_____________________________________________________
                        grow?   *183*

Type:  boolean

Description: 
The size of «Button» is changed relative to the size of the owning «Window» if and only if the value of this attribute is TRUE.

_____________________________________________________
                        location   *183*

Type:  Point

Description:
Location of upper left corner of «Button» in the owning «Window».

Side effects:
Setting causes «Button» to be redrawn.

_____________________________________________________
                        size   *183*

Type:  Point

Description:
Offset of lower right corner of «Button» from upper left corner.

Side effects:
Setting causes «Button» to be redrawn.

_____________________________________________________
                        balloon   *183*

Type: 
list 

Description:
Balloon Help information; format varies with the type (Prograph string or 'STR ', 'STR#', 'TEXT' or 'PICT' resource) of Balloon Help.

_____________________________________________________
                        click method   *184*

Type: 
string 

Description:
Name of the method called when a click occurs in the «Button». If «Button» is the default button of the owning «Window», pressing the Return key is equivalent to a click on «Button» (unless there is an active Scroll Text item in the window). «Button» is the default button of the owning «Window» if it is the first element in the list of «Window Item»s in the attribute item list of this «Window». The default button is drawn with a heavy border.

Method inputs:  <owning «Window»>, «Button», <EventRecord of click>

_____________________________________________________
                       control record   *184*

Type:  ControlRecord@@

Constraints:
Not settable.

Description:
Control record of «Button».